package com.imu.purse.modules.trade.service.impl;

import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.github.pagehelper.PageHelper;
import com.xiaoleilu.hutool.util.ArrayUtil;
import com.xiaoleilu.hutool.util.NumberUtil;
import com.xiaoleilu.hutool.util.StrUtil;
import com.imu.core.base.BaseService;
import com.imu.purse.modules.trade.dao.BitcoinLogMapper;
import com.imu.purse.modules.trade.entity.BitcoinLogEntity;
import com.imu.purse.modules.trade.service.BitcoinLogService;

/**
 * 
 * @author sunhongwei
 * @email sunhongwei@jshijian.com
 * @date 2018-04-11 13:52:48
 * Copyright (c) 2017 武汉极时间科技有限公司 版权所有 
 * Jshijian aloha CO.,LTD. All Rights Reserved. 
 */
@Service
public class BitcoinLogServiceImpl extends BaseService<BitcoinLogEntity> implements BitcoinLogService 
{
	@Autowired
	private BitcoinLogMapper mapper;
	
	@Override
    @Transactional
    public int save(final BitcoinLogEntity bitcoinLog)
	{
    	return super.insert(bitcoinLog);
	}
	

	@Override
	public int deleteByTId(String transId) {
		// TODO Auto-generated method stub
		return mapper.deleteByTId(transId);
	}
}
